package xkp.lesson2;

public class Demo2 {
	public static void main(String[] args) {
		boolean flag = true;
		
		
		byte b1 = 12;
		short s1 = 111;
		s1 = b1;
		b1 = (byte) s1;
		int i1 = 123;
		long l1 = 1234;
		float f1 = 3.14f;
		//float f2 = 200;
		double d1 = 22.22;
		char c1 = '中';
		boolean floag = true;
		
		int s2 = b1+s1;
		//字符串使用双引号，是引用数据类型
		String str = "123";
		String str2 = str+b1;
		//System.out.println(str2);
		
		
		int a = 123456;
		byte b = (byte) a;
		System.out.println(b);
		
	}

}
